#ifndef DATABASE_H
#define DATABASE_H

#include <QtSql>

class Database
{
public:
    Database();
    bool open();
    void close();

    const static int FAILURE = -1;

protected:
    QSqlDatabase db;
};

#endif // DATABASE_H
